package org.verlet.dto;

public class SeckillResult<T> {

    private boolean status;
    private T data;
    private String msg;

    public SeckillResult(boolean status, T data) {
        this.status = status;
        this.data = data;
    }

    public SeckillResult(boolean status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
